import request from '@/utils/request'
// 获取合作商信息
export const getpartnerinfo = (params) => request.get('/api/user-service/partner/search', { params })
// 当月分成
export const gettotalbill = (start, end) => request.get('api/order-service/report/totalBill', {
  params: {
    start: start + ' 00:00:00',
    end: end + ' 23:59:59'
  }
})
// 获取一定日期范围之内的合作商分成汇总数据
export const getpartnerCollect = params => request.get('/api/order-service/report/partnerCollect', { params })
// 合作商信息
export const getpanterinfo = name => request.get(' /api/user-service/partner/search', {
  params: {
    name
  }
})
